package com.iteye.cwh.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.iteye.cwh.common.annotation.Excel;
import com.iteye.cwh.common.core.domain.BaseEntity;

/**
 * 员工对象 perf_employee
 * 
 * @author chenwh
 * @date 2024-02-17
 */
public class Employee extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 员工ID */
    private Long employeeId;

    /** 仓库标识 */
    @Excel(name = "仓库标识")
    private Long warehouseId;

    /** 库房标识 */
    @Excel(name = "库房标识")
    private Long storehouseId;

    /** 部门标识 */
    @Excel(name = "部门标识")
    private Long departmentId;

    /** 岗位标识 */
    @Excel(name = "岗位标识")
    private Long postId;

    /** 员工编码 */
    @Excel(name = "员工编码")
    private String employeeNo;

    /** 姓名 */
    @Excel(name = "姓名")
    private String name;

    /** 职位 */
    @Excel(name = "职位")
    private String duty;

    public void setEmployeeId(Long employeeId) 
    {
        this.employeeId = employeeId;
    }

    public Long getEmployeeId() 
    {
        return employeeId;
    }
    public void setWarehouseId(Long warehouseId) 
    {
        this.warehouseId = warehouseId;
    }

    public Long getWarehouseId() 
    {
        return warehouseId;
    }
    public void setStorehouseId(Long storehouseId) 
    {
        this.storehouseId = storehouseId;
    }

    public Long getStorehouseId() 
    {
        return storehouseId;
    }
    public void setDepartmentId(Long departmentId) 
    {
        this.departmentId = departmentId;
    }

    public Long getDepartmentId() 
    {
        return departmentId;
    }
    public void setPostId(Long postId) 
    {
        this.postId = postId;
    }

    public Long getPostId() 
    {
        return postId;
    }
    public void setEmployeeNo(String employeeNo) 
    {
        this.employeeNo = employeeNo;
    }

    public String getEmployeeNo() 
    {
        return employeeNo;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setDuty(String duty) 
    {
        this.duty = duty;
    }

    public String getDuty() 
    {
        return duty;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("employeeId", getEmployeeId())
            .append("warehouseId", getWarehouseId())
            .append("storehouseId", getStorehouseId())
            .append("departmentId", getDepartmentId())
            .append("postId", getPostId())
            .append("employeeNo", getEmployeeNo())
            .append("name", getName())
            .append("duty", getDuty())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
